<!-- update  by  xujun   2017-07-29 -->
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<script type="text/javascript" src="${ctx}/role/js/roleAdd.js" charset="utf-8"></script>
<script type="text/javascript">
</script>
<div class="easyui-layout" data-options="fit:true,border:false" >
	<div data-options="region:'center',border:false" title="" style="overflow: hidden;padding: 3px;" >
		<form id="demoAddForm" method="post">
			<table class="grid">
				<tr>
					<td>名称</td>
					<td>
					<input name="toName" id="toName" type="text" placeholder="请输入名称" class="easyui-validatebox"><font color="red" style="font-weight:bold;" face="verdana">*</font></td>
				</tr>
				<tr>
					<td>类型</td>
					<td>
					<!--<input name="type" id="type" type="text" placeholder="类型" class="easyui-validatebox">  -->
					<select id="type" name="type" style="width: 200px;  height: 29px;" onchange="" class="easyui-validatebox">
						<option value=1>网站管理</option>
						<option value=2>普通管理</option>
						<option value=3>游客</option>
					</select>
					</td>
				</tr>
			
				<tr>
					<td>描述</td>
					<td>
						<textarea rows="3" id="note" cols="20" name="notes"></textarea>
					</td>
				</tr>
			</table>
			<p align="right">
				<a onclick="addRole();" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-add'">添加</a>
			</p>
		</form>
	</div>
</div>